simple snip code